<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/


Route::middleware('throttle:5')->group(function () {
    Route::get('/', "Web\HomeController@index");
    Route::get('/contact', "Web\HomeController@contact");
    Route::get('/fongwahnew/{url}', "Web\HomeController@newsDetail");
    Route::get('/information/{url}', "Web\HomeController@newsDetailinformation");
    Route::get('/industry-info/{url}', "Web\HomeController@newsDetailindustry");
    
    Route::get('/project-category/portfolio/', "Web\HomeController@category");
    
    Route::get('/products/{url}', "Web\HomeController@productDeatil");
    Route::get('/category/{url}', "Web\HomeController@newList");
    Route::get('/project-category/{url?}/{sub?}/{subs?}/{subbs?}/{subbbs?}/{stes?}/{stest?}/{sdrfsd?}', "Web\HomeController@productList");
    Route::get('/support/{url?}', "Web\HomeController@support");
    // Route::get('/about-us', "Web\HomeController@about");
    Route::get('/{url}', "Web\HomeController@pages");
    Route::get('/rfid', "Web\HomeController@khow");
    Route::get('/tag/{url}', "Web\HomeController@tag");
    Route::get('/blog/{url}', "Web\HomeController@question");
    Route::get('/dt_testimonials/{url}', "Web\HomeController@knowDetail");
    Route::get('/pages/{url}', "Web\HomeController@productPage");
    Route::post('/apis/feedback',"Web\HomeController@feedback");
});


Route::get('/apis/captcha', function () {
    return captcha_src();
});